<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>    
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>学生信息</title>
</head>
<body>
  <h1>
 
   学号:${student.id},姓名:${student.sname}
   <br/>
   入学时间:<%-- ${student.enterdate} --%>
   <fmt:formatDate value="${student.enterdate}" pattern="yyyy年MM月dd日"/>
  </h1>
</body>
</html>